package com.mingdong.first.celue.duck;

import com.mingdong.first.celue.flyBehavior.SlowFlyBehavior;
import com.mingdong.first.celue.quackBehavior.GeGeBehavior;

public class GreenHeadDuck extends Duck {

	public GreenHeadDuck(){
		quackBehavior = new GeGeBehavior();
		flyBehavior = new SlowFlyBehavior();
	}
	
	@Override
	public void display() {
		System.out.println("green Head");
	}

}
